home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6555 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: comma.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Sorting a list
  5. Message-ID: <pSYjy*dmg@yaps.rhein.de>
  6. Date: Fri, 29 Mar 1996 16:15:21 +0100
  7. References: <4iu6g0$rsc@pub.news.uk.psi.net>
  8. Organization: Yet Another Private Site in Meckenheim, Germany
  9. X-Copyright: This article may not be distributed on a CD-ROM
  10.  or in printed form without prior written consent of the author.
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <4iu6g0$rsc@pub.news.uk.psi.net>, Matthew Towler writes:
  14.  
  15. > To evaluate whether or not one string is higher in the alphabet you
  16. > pass the pointers to strcmp().
  17.  
  18. If you're an English-speaking fan of case-sensitivity.
  19.  
  20. For sorted output meant for human eyes, you probably want to use
  21. utility.library/Stricmp(). stdlib/str[i]cmp() is only sensible for
  22. internal sorting (because it is faster and does not depend on the
  23. activated locale).
  24.  
  25. -- __
  26. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  27. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  28.